package com.yonyou.brigade.facade.controller;


import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.yonyou.brigade.third_parties.common.model.BriIconTenant;
import com.yonyou.brigade.third_parties.common.service.IBriIconService;
import com.yonyou.brigade.third_parties.common.service.IBriIconTenantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author houyb
 * @since 2020-04-22
 */
@Controller
@RequestMapping("/open/api/v1")
public class BriIconController {

    @Autowired
    private IBriIconTenantService briIconTenantService;

    @RequestMapping("/updateIconStatus")
    @ResponseBody
    public JSONObject openStateList(@RequestBody JSONObject param){
        return briIconTenantService.updateIconStatus(param);
    }



}

